package com.fhMall.api;

import com.fh.modules.ems.vo.PushProductQryVo;
import com.fhMall.request.QueryEmsHomeBannerRequest;
import com.fhMall.request.QueryEmsHomePushProductRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 程序名：.java<br>
 * 程序功能 <br>
 * 作成者：xianlin <br>
 * 日期：2019-10-09 16:20<br>
 * 修改履历 <br>
 * 项目名    状态      作成者      日期   <br>
 * --------------------------------------- <br>
 * 新规      xianlin   2019-10-09 16:20 <br>
 * ----------------------------- <br>
 */
public interface HomeFacade {

    @GetMapping(value = "/ems/emsHomeBanner/queryAll",consumes = "application/json")
    @ResponseBody
    String queryEmsHomeBannerAll(@RequestBody QueryEmsHomeBannerRequest queryEmsHomeBannerRequest);

    @GetMapping("/pms/pmsProductCategory/queryAll")
    @ResponseBody
    String queryPmsProductCategoryAll();

    @GetMapping(value = "/ems/emsHomePushProduct/queryAll",consumes = "application/json")
    @ResponseBody
    String queryEmsHomePushProductAll(@RequestBody PushProductQryVo vo);

    @GetMapping("/pms/pmsProduct/queryProductProperty")
    @ResponseBody
    String queryProductProperty(@RequestParam(name = "id") Integer id);

}
